package com.fizzkai.p2p.core.domain;

import com.fizzkai.p2p.core.util.Constants;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

@Getter@Setter
public class BaseAccount extends BaseDomain {
    private int version;//乐观锁
    private BigDecimal usableAmount = Constants.ZERO;//可用金额
    private BigDecimal freezedAmount = Constants.ZERO;//冻结金额
}
